define("config",function () {
    require.config({
        baseUrl:"./js/",
        map:{
            '*':{
                'css':'./lib/css'
            }
        },
        paths:{
            "jquery":["lib/jquery-3.3.1"],
            "config":["config"],
            "md5":["lib/jquery.md5"],
            "register":["register"],
            "login":["login"],
            "index":["index"],
            "jquery-validate":["lib/jquery-validation/jquery.validate"],
            "jquery.cookie" : ["lib/jquery-cookie/jquery.cookie"],
            "jquery.idcode" : ["lib/idcode/jquery.idcode"],//非模块,组件
            "goos":["goos"],
            "index":["index"],
        },
        shim:{
            "jquery.idcode" : {
                deps : ["jquery"]
            },
            "md5" : {
                deps : ["jquery"]
            },
            //给register加入一个依赖,因为要通过register导入css
            "register" : {
                deps : ["css!../css/register.css"]
            }
        }
    })
})